package com.project.isaacwiki.service;

import com.project.isaacwiki.dto.UserRegister;
import com.project.isaacwiki.util.Result;
import org.springframework.web.multipart.MultipartFile;

public interface ServiceLogin {
    Result login(String username, String password);

    Result uploadImage(MultipartFile file);

    Result register(UserRegister userRegister) throws Exception;
}
